<template>
  <van-tabbar route v-model="active">
    <van-tabbar-item name="home" to="/home" icon="wap-home">工作台</van-tabbar-item>
    <van-tabbar-item name="task" to="/task" icon="label">任务</van-tabbar-item>
    <van-tabbar-item name="personal" to="/personal" icon="manager">我的</van-tabbar-item>
  </van-tabbar>
</template>
<script>
// import { defineComponent } from '@vue/composition-api'

export default {
  name: 'Tabbar',
  data() {
    return {
      active: 'home'
    }
  }
}
</script>
